package service;

import pojo.User;

import java.util.List;


public interface UserService {
    //定义行为  crud
    //查询用户

    List<User> findAll(User user ,int offset, int pageSize);

    int addUser(User user);

    User findById(Integer id);

    int updateUser(User user);

    int deleteUserById(Integer id);

    int count(User user);


    //增加

    //删除

    //修改
}
